package com.muyi.biling.bean;

import org.parceler.Parcel;

import java.util.ArrayList;

/**
 * Created by developer on 18-1-26.
 */

@Parcel
public class OrderDetail {

    public final static String CLASS_NAME = "orderDetail";

    public ArrayList<CommodityItem> commodityList;
    public String custom;
    public String logistics;
    public String seller;
    public String tip;
    public int sum;
    public String number;
    public String date;

    public OrderDetail() {

    }

    public OrderDetail(ArrayList<CommodityItem> commodityList, String custom, String logistics, String seller, String tip, int sum, String number, String date) {
        this.commodityList = commodityList;
        this.custom = custom;
        this.logistics = logistics;
        this.seller = seller;
        this.tip = tip;
        this.sum = sum;
        this.number = number;
        this.date = date;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "commodityList=" + commodityList +
                ", custom='" + custom + '\'' +
                ", logistics='" + logistics + '\'' +
                ", seller='" + seller + '\'' +
                ", tip='" + tip + '\'' +
                ", sum=" + sum +
                ", number='" + number + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
